package com.blacktea.creationalpatterns.abstractfactorypattern.factory;

import com.blacktea.creationalpatterns.abstractfactorypattern.service.AliPayService;
import com.blacktea.creationalpatterns.abstractfactorypattern.service.WeChatPayService;

import java.util.Optional;

/**
 * @description:
 * @author: black tea
 * @date: 2023/3/19 14:44
 */
public interface AbstractPayFactory {

    Optional<AliPayService> createAliPay();

    Optional<WeChatPayService> createWxChatPay();

}
